<?php

namespace Model\LogExamBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * LogExamQuestion
 *
 * @ORM\Table(name="logExamQuestion")
 * @ORM\Entity(repositoryClass="Model\LogExamBundle\Repository\LogExamQuestionRepository")
 */
class LogExamQuestion
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="userId", type="integer")
     */
    private $userId;

    /**
     * @var int
     *
     * @ORM\Column(name="examId", type="integer")
     */
    private $examId;

    /**
     * @var float
     *
     * @ORM\Column(name="Score", type="float")
     */
    private $score;

    /**
     * @var int
     *
     * @ORM\Column(name="timeSpend", type="integer")
     */
    private $timeSpend;

    /**
     * @var int
     *
     * @ORM\Column(name="questionId", type="integer")
     */
    private $questionId;

    /**
     * @var int
     *
     * @ORM\Column(name="isRight", type="integer")
     */
    private $isRight;

    /**
     * @var int
     *
     * @ORM\Column(name="isDifficult", type="integer")
     */
    private $isDifficult;

    /**
     * @var int
     *
     * @ORM\Column(name="isDone", type="integer")
     */
    private $isDone;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set userId
     *
     * @param integer $userId
     *
     * @return LogExam
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;

        return $this;
    }

    /**
     * Get userId
     *
     * @return int
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * Set examId
     *
     * @param integer $examId
     *
     * @return LogExam
     */
    public function setExamId($examId)
    {
        $this->examId = $examId;

        return $this;
    }

    /**
     * Get examId
     *
     * @return int
     */
    public function getExamId()
    {
        return $this->examId;
    }

    /**
     * Set score
     *
     * @param float $score
     *
     * @return LogExam
     */
    public function setScore($score)
    {
        $this->score = $score;

        return $this;
    }

    /**
     * Get score
     *
     * @return float
     */
    public function getScore()
    {
        return $this->score;
    }

    /**
     * Set timeSpend
     *
     * @param integer $timeSpend
     *
     * @return LogExam
     */
    public function setTimeSpend($timeSpend)
    {
        $this->timeSpend = $timeSpend;

        return $this;
    }

    /**
     * Get timeSpend
     *
     * @return int
     */
    public function getTimeSpend()
    {
        return $this->timeSpend;
    }

    /**
     * Set questionId
     *
     * @param integer $questionId
     *
     * @return LogExamQuestion
     */
    public function setQuestionId($questionId)
    {
        $this->questionId = $questionId;

        return $this;
    }

    /**
     * Get questionId
     *
     * @return int
     */
    public function getQuestionId()
    {
        return $this->questionId;
    }

    /**
     * Set isRight
     *
     * @param integer $isRight
     *
     * @return LogExamQuestion
     */
    public function setIsRight($isRight)
    {
        $this->isRight = $isRight;

        return $this;
    }

    /**
     * Get isRight
     *
     * @return int
     */
    public function getIsRight()
    {
        return $this->isRight;
    }

    /**
     * Set isDifficult
     *
     * @param integer $isDifficult
     *
     * @return LogExamQuestion
     */
    public function setIsDifficult($isDifficult)
    {
        $this->isDifficult = $isDifficult;

        return $this;
    }

    /**
     * Get isDifficult
     *
     * @return int
     */
    public function getIsDifficult()
    {
        return $this->isDifficult;
    }

    /**
     * Set isDone
     *
     * @param integer $isDone
     *
     * @return LogExamQuestion
     */
    public function setIsDone($isDone)
    {
        $this->isDone = $isDone;

        return $this;
    }

    /**
     * Get isDone
     *
     * @return int
     */
    public function getIsDone()
    {
        return $this->isDone;
    }
}

